package com.jx.mst.third;

import com.baomidou.mybatisplus.autoconfigure.DdlApplicationRunner;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;

@EnableDiscoveryClient
@SpringBootApplication
@MapperScan("com.jx.mst.third.dao")
public class JxMstServiceThirdApplication {

    public static void main(String[] args) {
        SpringApplication.run(JxMstServiceThirdApplication.class, args);
    }
    @Bean
    public DdlApplicationRunner ddlApplicationRunner() {
        return new DdlApplicationRunner(null); // 或使用适当的构造函数/初始化方法
    }
}
